import { CHANGE_INPUT_VALUE, ADD_DATA_ITEM, DELETE_ITEM } from './actionType'

export const getInputAction = (value) => ({
    type: CHANGE_INPUT_VALUE,
    value
})

export const getAddItemAction = () => ({
    type: ADD_DATA_ITEM
})

export const getDeleteItemAction = (index) => ({
    type: DELETE_ITEM,
    index
})